package cn.iocoder.yudao.module.eval.controller.admin.employee.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 员工工作经历保存 Request VO")
@Data
public class EvalEmployeeWorkHistorySaveReqVO {

    @Schema(description = "编号", example = "1")
    private Long id;

    @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "用户ID不能为空")
    private Long userId;

    @Schema(description = "工作单位", example = "ABC公司")
    private String workUnit;

    @Schema(description = "工作岗位", example = "Java开发工程师")
    private String workPosition;

    @Schema(description = "开始时间", example = "2020-01-01")
    private LocalDateTime startDate;

    @Schema(description = "结束时间", example = "2022-12-31")
    private LocalDateTime endDate;

    @Schema(description = "工作描述", example = "负责系统开发")
    private String workDescription;

    @Schema(description = "离职原因", example = "个人发展")
    private String leaveReason;

    @Schema(description = "证明人", example = "李经理")
    private String witness;

    @Schema(description = "证明人联系方式", example = "13900139001")
    private String witnessContact;

    @Schema(description = "备注", example = "工作表现优秀")
    private String remarks;

}
